package org.snail.base.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by WJ on 2017/12/10.
 */
@Controller
@RequestMapping("/homepage")
public class HomeController {

    @RequestMapping(method = RequestMethod.GET)
    public String home(){
        return "empIndex";
//          return "home";
    }
    @RequestMapping("/upload")
    public String upload(){
        return "upload";
    }
}
